package com.bitdf.txing.search.service;

import com.bitdf.txing.common.utils.PageUtils;
import com.bitdf.txing.search.to.GroupInfoTo;
import com.bitdf.txing.search.to.GroupOutlineTo;
import com.bitdf.txing.search.to.SearchModelTo;

import java.io.IOException;
import java.util.List;
import java.util.Map;
import java.util.Set;

/**
 * @author Lizhiwei
 * @date 2023/1/26 20:09:12
 * 注释：
 */
public interface GroupSearchService {
    GroupInfoTo getGroupById(Long id) throws IOException;

    PageUtils searchGroup(SearchModelTo searchModelTo) throws IOException;

    Map<Integer, List<GroupInfoTo>> getHotGroup(Integer size, Integer target) throws IOException;

    Boolean isGroupId(Long groupId) throws IOException;

    List<GroupOutlineTo> getGroupSimpleByGroupIds(Set<Long> groupIds) throws IOException;
}
